package com.wing.product.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Schema(description = "仓库移动库存记录实体")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "warehouse_move_inventory")
public class WarehouseMoveInventory extends BaseEntity {

//    @TableId(type = IdType.AUTO)
//    @Schema(description = "主键ID")
//    private Long id;

    @TableField("inventory_id")
    @Schema(description = "库存ID")
    private Long inventoryId;

    @TableField("warehouse_id")
    @Schema(description = "仓库ID")
    private Long warehouseId;

    @TableField("warehouse_area_id")
    @Schema(description = "库区ID")
    private Long warehouseAreaId;

    @TableField("warehouse_shelf_space_id")
    @Schema(description = "货架位ID")
    private Long warehouseShelfSpaceId;


    @TableField(  "now_warehouse_id")
    @Schema(description = "现在仓库ID")
    private Long nowWarehouseId;

    @TableField( "now_warehouse_area_id")
    @Schema(description = "现在库区ID")
    private Long nowWarehouseAreaId;

    @TableField( "now_warehouse_shelf_space_id")
    @Schema(description = "现在库位ID")
    private Long nowWarehouseShelfSpaceId;

//    @TableField("create_time")
//    @Schema(description = "创建时间")
//    private Date createTime;

//    @TableField("creator_name")
//    @Schema(description = "创建人姓名")
//    private String creatorName;

}
